<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RetroSnake: SnakerChunk Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">RetroSnake
   &#160;<span id="projectnumber">0.7.23</span>
   </div>
   <div id="projectbrief">Try to write a snake.io in cmd.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_snaker_chunk.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_snaker_chunk-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SnakerChunk Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>储存地图的下级单元  
 <a href="class_snaker_chunk.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_snaker_map_8h_source.html">SnakerMap.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afe01137385f2acdc88e34e56c3529cdf"><td class="memItemLeft" align="right" valign="top"><a id="afe01137385f2acdc88e34e56c3529cdf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_snaker_chunk.html#afe01137385f2acdc88e34e56c3529cdf">SnakerChunk</a> (int, int)</td></tr>
<tr class="memdesc:afe01137385f2acdc88e34e56c3529cdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造函数 <br /></td></tr>
<tr class="separator:afe01137385f2acdc88e34e56c3529cdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a650360b919fa5447e4fbe7b4d4c6299b"><td class="memItemLeft" align="right" valign="top"><a id="a650360b919fa5447e4fbe7b4d4c6299b"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>cx</b></td></tr>
<tr class="separator:a650360b919fa5447e4fbe7b4d4c6299b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a014b7a2a7def0ed385aa5b1ba7e909e5"><td class="memItemLeft" align="right" valign="top"><a id="a014b7a2a7def0ed385aa5b1ba7e909e5"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>cy</b></td></tr>
<tr class="separator:a014b7a2a7def0ed385aa5b1ba7e909e5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8d7be5371c4ee8638c34f4aa8b73fd6"><td class="memItemLeft" align="right" valign="top"><a id="ae8d7be5371c4ee8638c34f4aa8b73fd6"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>data</b> [chunkSize][chunkSize]</td></tr>
<tr class="separator:ae8d7be5371c4ee8638c34f4aa8b73fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae203bdb80d24c81e5cb26b8c93ed03d2"><td class="memItemLeft" align="right" valign="top"><a id="ae203bdb80d24c81e5cb26b8c93ed03d2"></a>
vector&lt; <a class="el" href="class_snaker_fruit.html">SnakerFruit</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>fruitList</b></td></tr>
<tr class="separator:ae203bdb80d24c81e5cb26b8c93ed03d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5ec008c8cd21233eebb72a97d391266"><td class="memItemLeft" align="right" valign="top"><a id="ac5ec008c8cd21233eebb72a97d391266"></a>
vector&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>bookFruitList</b></td></tr>
<tr class="separator:ac5ec008c8cd21233eebb72a97d391266"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>储存地图的下级单元 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cx</td><td>chunk在主要地图中的定位 </td></tr>
    <tr><td class="paramname">cy</td><td>chunk在主要地图中的定位 </td></tr>
    <tr><td class="paramname">data</td><td>用来真正储存地图内容的单元 </td></tr>
    <tr><td class="paramname">fruitList</td><td>将data中的水果ID与水果对象挂钩 </td></tr>
  </table>
  </dd>
</dl>
</div><hr/>The documentation for this class was generated from the following files:<ul>
<li>src/include/<a class="el" href="_snaker_map_8h_source.html">SnakerMap.h</a></li>
<li>src/SnakerMap/SnakerMap.cpp</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_snaker_chunk.html">SnakerChunk</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
